#ifndef _FORMAT_VIDEO_H__
#define _FORMAT_VIDEO_H__

#include <map>
#include <string>
#include "Pal/VideoEnc.h"

namespace Media{

class FormatVideo{
public:
	static bool EncType(const std::string &name, VideoEncType &type);
	static bool BrcType(const std::string &name, VideoEncBitrateCtrl &type);
	static bool Profile(const std::string &name, VideoEncH264Profile &type);

	static bool verifyCompression(const std::string &compression);
	static bool verifyBrc(const std::string &brc);
	static bool verifyBitrate(int bitrate);
	static bool verifyResolution(int width, int height);
	static bool verifyFps(float fps);
	static bool verifyGop(int gop);
	static bool verifyProfile(const std::string profile);
	static bool verifyQuality(int quality);

private:
	FormatVideo() = default;
	~FormatVideo() = default;
};

}//namespace Media

#endif
